home *** CD-ROM | disk | FTP | other *** search
-
-
-
- pnmarith(1) USER COMMANDS pnmarith(1)
-
-
-
- NAME
- pnmarith - perform arithmetic on two portable anymaps
-
- SYNOPSIS
- pnmarith -add|-subtract|-multiply _✓p_✓n_✓m_✓f_✓i_✓l_✓e_✓1 _✓p_✓n_✓m_✓f_✓i_✓l_✓e_✓2
-
- DESCRIPTION
- Reads two portable anymaps as input. Performs the specified
- arithmetic operation, and produces a portable anymap as out-
- put. The two input anymaps must be the same width and
- height.
-
- The arithmetic is performed between corresponding pixels in
- the two anymaps, with maxval as 1.0, black as 0.0, and a
- linear scale in between. Results that fall outside of
- [0..1) are truncated.
-
- All flags can be abbreviated to their shortest unique pre-
- fix.
-
- SEE ALSO
- pbmmask(1), pbmpaste(1), pnminvert(1), pnm(5)
-
- AUTHOR
- Copyright (C) 1989, 1991 by Jef Poskanzer.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sun Release 4.0 Last change: 13 January 1991 1
-
-
-
-